<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.List" %>
<%@ page import="com.online.dao.user.ShopDao" %><%--
  Created by IntelliJ IDEA.
  User: sunhao
  Date: 2022/3/15
  Time: 21:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>

<body>
administrator
<div>
    <h4>商家入驻申请</h4>
    <a href="${pageContext.request.contextPath}/loginout">退出</a>
    <table border="1" style=" border-spacing:0" >
        <c:forEach var="list" items="${requestScope.list}">
            <tr>
                <td>${list.shop_name}</td>
                <td>${list.user_name}</td>
                <td>${list.pwd}</td>
                <td>${list.legal_p}</td>
                <td>${list.tel}</td>
                <td><a  href="${pageContext.request.contextPath}/disagreeShop?name=${list.shop_name}">驳回</a></td>
                <td><a href="${pageContext.request.contextPath}/agreeShop?name=${list.shop_name}&&username=${list.user_name}">同意</a></td>
            </tr>
        </c:forEach>
    </table>
    <h4>已入驻商家</h4>

</div>
</body>
</html>
